export const staffRules = {
  name: [
    { required: true, message: "姓名不能为空" },
    { max: 10, message: "姓名不能超过10个字符" },
    { min: 2, message: "姓名不能少于2个字符" },
  ],
  phone: [
    { required: true, message: "手机号不能为空" },
    { max: 11, message: "手机号不能超过11位" },
    { min: 11, message: "手机号不能少于11位" },
  ],
  age: [
    { required: true, message: "年龄不能为空" },
    { max: 100, message: "年龄不能超过100岁" },
    { min: 18, message: "年龄不能小于18岁" },
  ],
};
